package com.educate.member.dao;

import com.educate.member.dao.impl.MemberDaoImpl;
import com.educate.device.model.bo.MemberBO;
import com.educate.device.model.po.Member;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface MemberDao extends MongoRepository<Member, String> {

    /**
     * #{@link MemberDaoImpl#query(MemberBO, Pageable)}
     */
    Page<Member> query(MemberBO bo, Pageable pageable);
}
